﻿using System.Xml.Serialization;

namespace Isaac.Joy.Menu.Module
{
    /// <summary>
    /// 菜单动作类
    /// </summary>
    public class MenuAction
    {
        /// <summary>
        /// 菜单编号
        /// </summary>
        [XmlAttribute]
        public string Id { get; set; }

        /// <summary>
        /// A标签行为
        /// </summary>
        [XmlAttribute]
        public string Target { get; set; }

        /// <summary>
        /// 链接地址
        /// </summary>
        [XmlText]
        public string Url { get; set; }
    }
}
